package com.mywang.weitravel.modules.login;

import com.mywang.weitravel.base.BaseContract;
import com.mywang.weitravel.model.UserBean;

/**
 * Created by wangmingyun on 2019/12/5.
 */
public interface LoginContract {
    interface View extends BaseContract.IView {
        void loginSuccess(UserBean userBean);
    }

    interface Presenter extends BaseContract.IPresenter<LoginContract.View> {
        void doLogin(String username, String password);
    }
}
